package cn.sccl.common.scaffold.filegens;

/**
 * Created by 杨浩宇 on 2016-02-21.
 */
public class ModelProperty {
    private String javaType;

    private String propertyName;

    private String comments;

    private String columnName;

    private String jdbcType;

    public ModelProperty(String javaType, String propertyName, String comments, String columnName, String jdbcType) {
        this.javaType = javaType;
        this.propertyName = propertyName;
        this.comments = comments == null ? "" : comments;
        this.columnName = columnName;
        this.jdbcType = jdbcType;
    }

    public String getJavaType() {
        return javaType;
    }

    public void setJavaType(String javaType) {
        this.javaType = javaType;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getJdbcType() {
        return jdbcType;
    }

    public void setJdbcType(String jdbcType) {
        this.jdbcType = jdbcType;
    }
}
